﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.IRepository.SystemSettings.InstituTions;
using SystemCenterSoa.PoModel.SystemSettings.InstituTions;

namespace SystemCenterSoa.Service.SystemSettings.InstituTions
{
    public class QualificationManagementService
    {
        private IQualificationManagementRepository _qualificationManagementRepository;
        public QualificationManagementService(IQualificationManagementRepository qualificationManagementRepository)
        {
            _qualificationManagementRepository = qualificationManagementRepository;
        }
        public PagerResult<QualificationManagementPo> SearchPage(SearchModel searchModel)
        {
            return _qualificationManagementRepository.SearchPage(searchModel);
        }
        public QualificationManagementPo QuaEdit(int id)
        {
            return _qualificationManagementRepository.QuaEdit(id);
        }
        public bool QuaAdd(QualificationManagementPo info)
        {
            return _qualificationManagementRepository.QuaAdd(info);
        }
        public bool QueDelete(string ids)
        {
            return _qualificationManagementRepository.QueDelete(ids);
        }
        public bool QuaUpdate(QualificationManagementPo info)
        {
            return _qualificationManagementRepository.QuaUpdate(info);
        }
    }
}
